package com.itcncp.wechat.app.dao.mapper;

import com.itcncp.wechat.app.dao.model.UserInvoiceInfo;
import com.itcncp.wechat.app.dao.model.UserInvoiceInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserInvoiceInfoMapper {
    long countByExample(UserInvoiceInfoExample example);

    int deleteByExample(UserInvoiceInfoExample example);

    int deleteByPrimaryKey(Long invoiceId);

    int insert(UserInvoiceInfo record);

    int insertSelective(UserInvoiceInfo record);

    List<UserInvoiceInfo> selectByExampleWithBLOBs(UserInvoiceInfoExample example);

    List<UserInvoiceInfo> selectByExample(UserInvoiceInfoExample example);

    UserInvoiceInfo selectByPrimaryKey(Long invoiceId);

    int updateByExampleSelective(@Param("record") UserInvoiceInfo record, @Param("example") UserInvoiceInfoExample example);

    int updateByExampleWithBLOBs(@Param("record") UserInvoiceInfo record, @Param("example") UserInvoiceInfoExample example);

    int updateByExample(@Param("record") UserInvoiceInfo record, @Param("example") UserInvoiceInfoExample example);

    int updateByPrimaryKeySelective(UserInvoiceInfo record);

    int updateByPrimaryKeyWithBLOBs(UserInvoiceInfo record);

    int updateByPrimaryKey(UserInvoiceInfo record);
}